package com.ifdom.thread.multthread;

public class ThreadOneDemo extends Thread {

    @Override
    public void run() {
        System.out.println("当前线程：" + Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        System.out.println("当前线程：" + Thread.currentThread().getName());
        new ThreadOneDemo().start();
    }
}
